package com.hsnn.medstgmini.base.std.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;


/**
 * StdCompgroupLog entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="std_compgroup_log")

public class StdCompgroupLog  implements java.io.Serializable {


    // Fields    

     /**
	 * @category 
	 * @Auther xugp
	 * @date 2015年9月21日 下午5:20:45
	 */
	private static final long serialVersionUID = 1L;
	private String logId;
     private String compGroupId;
     private String compGroupCode;
     private String compGroupName;
     private String compGroupSpelName;
     private String compGroupShortname;
     private String compShortSpelCode;
     private String remark;
     private Short status;
     private Timestamp updDatetime;
     private String updUser;
 	private long count;//查询总数
	
 	private String date1;
 	
	private String date2;
 	private String detail;

    // Constructors
 	@Transient
    public long getCount() {
		return count;
	}

	public void setCount(long count) {
		this.count = count;
	}
	@Transient
	public String getDate1() {
		return date1;
	}

	public void setDate1(String date1) {
		this.date1 = date1;
	}
	@Transient
	public String getDate2() {
		return date2;
	}

	public void setDate2(String date2) {
		this.date2 = date2;
	}

	/** default constructor */
    public StdCompgroupLog() {
    }

	/** minimal constructor */
    public StdCompgroupLog(String compGroupId, String compGroupCode, String compGroupName) {
        this.compGroupId = compGroupId;
        this.compGroupCode = compGroupCode;
        this.compGroupName = compGroupName;
    }
    
    /** full constructor */
    public StdCompgroupLog(String compGroupId, String compGroupCode, String compGroupName, String compGroupSpelName, String compGroupShortname, String compShortSpelCode, String remark, Short status, Timestamp updDatetime, String updUser) {
        this.compGroupId = compGroupId;
        this.compGroupCode = compGroupCode;
        this.compGroupName = compGroupName;
        this.compGroupSpelName = compGroupSpelName;
        this.compGroupShortname = compGroupShortname;
        this.compShortSpelCode = compShortSpelCode;
        this.remark = remark;
        this.status = status;
        this.updDatetime = updDatetime;
        this.updUser = updUser;
    }

   
    // Property accessors
    @Id 
    @GeneratedValue(generator="generator")
    @GenericGenerator(name="generator", strategy="uuid")
    @Column(name="log_id", unique=true, nullable=false, length=36)

    public String getLogId() {
        return this.logId;
    }
    
    public void setLogId(String logId) {
        this.logId = logId;
    }
    
    @Column(name="comp_group_id", nullable=false, length=36)

    public String getCompGroupId() {
        return this.compGroupId;
    }
    
    public void setCompGroupId(String compGroupId) {
        this.compGroupId = compGroupId;
    }
    
    @Column(name="comp_group_code", nullable=false, length=36)

    public String getCompGroupCode() {
        return this.compGroupCode;
    }
    
    public void setCompGroupCode(String compGroupCode) {
        this.compGroupCode = compGroupCode;
    }
    
    @Column(name="comp_group_name", nullable=false, length=512)

    public String getCompGroupName() {
        return this.compGroupName;
    }
    
    public void setCompGroupName(String compGroupName) {
        this.compGroupName = compGroupName;
    }
    
    @Column(name="comp_group_spel_name", length=128)

    public String getCompGroupSpelName() {
        return this.compGroupSpelName;
    }
    
    public void setCompGroupSpelName(String compGroupSpelName) {
        this.compGroupSpelName = compGroupSpelName;
    }
    
    @Column(name="comp_group_shortname", length=256)

    public String getCompGroupShortname() {
        return this.compGroupShortname;
    }
    
    public void setCompGroupShortname(String compGroupShortname) {
        this.compGroupShortname = compGroupShortname;
    }
    
    @Column(name="comp_short_spel_code", length=128)

    public String getCompShortSpelCode() {
        return this.compShortSpelCode;
    }
    
    public void setCompShortSpelCode(String compShortSpelCode) {
        this.compShortSpelCode = compShortSpelCode;
    }
    
    @Column(name="remark", length=1024)

    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    @Column(name="status")

    public Short getStatus() {
        return this.status;
    }
    
    public void setStatus(Short status) {
        this.status = status;
    }
    
    @Column(name="upd_datetime", length=19)

    public Timestamp getUpdDatetime() {
        return this.updDatetime;
    }
    
    public void setUpdDatetime(Timestamp updDatetime) {
        this.updDatetime = updDatetime;
    }
    
    @Column(name="upd_user", length=36)

    public String getUpdUser() {
        return this.updUser;
    }
    
    public void setUpdUser(String updUser) {
        this.updUser = updUser;
    }
   
    @Column(name="detail", length=4000)
    public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}







}